#ifndef RECVSOLVE_H
#define RECVSOLVE_H
#include "netheader.h"
#include <QThread>
#include <QMutex>

class RecvSolve : public QThread
{
    Q_OBJECT
public:
    explicit RecvSolve(QObject *parent = nullptr);

protected:
    void run() override;

private:
    QMutex m_lock;
    bool m_isCanRun;

signals:
    void datarecv(MESG *);

public:
    void stopImmediately();
};

#endif // RECVSOLVE_H
